{# -*- coding: utf-8 -*- #}
{#
Copyright 2011 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#}
{% extends "base.html" %}
{% block title %}{% trans %}生存者の登録{% endtrans %}{% endblock %}
{% block content %}
{% trans %}生存者の登録{% endtrans %}<br>
{% if error %}
<div style="color:#f00;">{{ error }}</div>
{% endif %}
<form action="" method="post" charset="shift_jis">
<span style="font-size:x-small;color:#f00;">{% trans %}生存が確認された方の情報のみ登録してください。{% endtrans %}</span><br>
{{ form_field(form.person.last_name) }}<br>
{{ form_field(form.person.first_name) }}<br>
{{ form_field(form.person.home_city) }}<br>
{{ form_field(form.note.last_known_location) }}<br>
{{ form_field(form.found_person_contact) }}<br>
{{ form_field(form.note.text) }}<br>
{{ form_field(form.person.author_name) }}<br>
{% if form.author_email.errors %}
<span style="color:#f00;">
{% endif %}
{% trans %}この方の最新情報を受け取るメールアドレス(必要な場合){% endtrans %}<br>
{% if form.author_email.errors %}
</span>
{% endif %}
{{ form.author_email }}<br>
<span style="font-size:x-small;color:#f00;">{% trans %}登録した内容(最新情報を受け取るメールアドレスを除く)はすべて公開され、誰でも表示、使用できる状態になります。{% endtrans %}</span>
<input type="submit" value="{% trans %}登録{% endtrans %}">
</form>
{% endblock %}
